package cn.edu.hit.ht.dao;

import cn.edu.hit.ht.pojo.AhpInsert;
import cn.edu.hit.ht.pojo.AhpInsertExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface AhpInsertMapper {
    int countByExample(AhpInsertExample example);

    int deleteByExample(AhpInsertExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AhpInsert record);

    int insertSelective(AhpInsert record);

    List<AhpInsert> selectByExample(AhpInsertExample example);

    AhpInsert selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AhpInsert record, @Param("example") AhpInsertExample example);

    int updateByExample(@Param("record") AhpInsert record, @Param("example") AhpInsertExample example);

    int updateByPrimaryKeySelective(AhpInsert record);

    int updateByPrimaryKey(AhpInsert record);
}